<template>
    <div class="box1">
      <div>
        <img :src="obj.img">
      <br>
      <span class="isRed">¥{{ obj.price }}</span>
      <br>
      <span class="name">{{ obj.name }}</span>   
      <br>
      </div>
      
    </div>
  </template>
  
  <script>
  export default {
      data(){
          return{
             obj:{
              img: require('@/assets/rog.jpg'),
              price: 8899.00 ,
              name: 'ROG魔霸7 Plus 17.3英寸 电竞游戏笔记本',
             }
            
          }
      }
  }
  </script>
  
  <style scoped>
  .box{
    display: flex;
  }
  .box2{
    display: flex;
    flex-direction: column;
  }
  .isRed{
      color: red;
      font-size: 15px;
  }
  </style>